home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / DTS Japan-Sample Code / AppleEvent•MacApp3.0b1•7.0 / AEPackObject.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-05  |  1.3 KB  |  47 lines  |  [TEXT/MPS ]

  1. /************************************************************************************
  2.                                             
  3.     ©Apple Computer, Inc.  1991             
  4.           All Rights Reserved.                
  5.  
  6. ************************************************************************************/
  7.  
  8. #ifndef __AEOBJECTPACKING__
  9. #define __AEOBJECTPACKING__
  10.  
  11. #ifndef __APPLEEVENTS__
  12. #include <AppleEvents.h>
  13. #endif
  14.  
  15.  
  16. /* These are the object packing routines.  */
  17.  
  18. pascal OSErr CreateOffsetDescriptor(    long theOffset,
  19.                                         AEDesc &theDescriptor ) ;
  20.  
  21. pascal OSErr CreateCompDescriptor(        DescType comparisonOperator,
  22.                                         AEDesc& operand1,
  23.                                         AEDesc& operand2,
  24.                                         Boolean disposeInputs,
  25.                                         AEDesc& theDescriptor ) ;
  26.                                 
  27. pascal OSErr CreateLogicalDescriptor(    AEDescList &theLogicalTerms,         /* a list of comb and logi terms */
  28.                                         DescType theLogicOperator,             /* the operator, e.g. AND */
  29.                                         Boolean disposeInputs,
  30.                                         AEDesc &theDescriptor ) ; 
  31.  
  32.  
  33. pascal OSErr CreateObjSpecifier(        DescType desiredClass,
  34.                                         AEDesc &theContainer, 
  35.                                         DescType keyForm,
  36.                                         AEDesc &keyData, 
  37.                                         Boolean disposeInputs,
  38.                                         AEDesc &objSpecifier ) ;
  39.                             
  40. pascal OSErr CreateRangeDescriptor(        AEDesc &rangeStart,    
  41.                                         AEDesc &rangeStop,
  42.                                         Boolean disposeInputs,
  43.                                         AEDesc &theDescriptor ) ;
  44.  
  45.  
  46. #endif
  47.